package com.bus.entity;

import java.util.Date;

public class Admin {
	public int admin_id;
	public String admin_name;
	public String admin_password;
	public Date admin_date;
	public int roleId;

	private int remember;

	public Admin() {
		super();
	}

	public Admin(String admin_name, String admin_password) {
		super();
		this.admin_name = admin_name;
		this.admin_password = admin_password;
	}

	public Admin(int admin_id, String admin_name, String admin_password, Date admin_date) {
		super();
		this.admin_id = admin_id;
		this.admin_name = admin_name;
		this.admin_password = admin_password;
		this.admin_date = admin_date;
	}

	public Admin(int admin_id, String admin_name, String admin_password, Date admin_date, int roleId) {
		super();
		this.admin_id = admin_id;
		this.admin_name = admin_name;
		this.admin_password = admin_password;
		this.admin_date = admin_date;
		this.roleId = roleId;
	}

	public Admin(int admin_id, String admin_name, String admin_password) {
		super();
		this.admin_id = admin_id;
		this.admin_name = admin_name;
		this.admin_password = admin_password;
	}

	public int getRemember() {
		return remember;
	}

	public void setRemember(int remember) {
		this.remember = remember;
	}

	public int getAdmin_id() {
		return admin_id;
	}

	public void setAdmin_id(int admin_id) {
		this.admin_id = admin_id;
	}

	public String getAdmin_name() {
		return admin_name;
	}

	public void setAdmin_name(String admin_name) {
		this.admin_name = admin_name;
	}

	public String getAdmin_password() {
		return admin_password;
	}

	public void setAdmin_password(String admin_password) {
		this.admin_password = admin_password;
	}

	public Date getAdmin_date() {
		return admin_date;
	}

	public void setAdmin_date(Date admin_date) {
		this.admin_date = admin_date;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "Admin [admin_id=" + admin_id + ", admin_name=" + admin_name + ", admin_password=" + admin_password
				+ ", admin_date=" + admin_date + ", roleId=" + roleId + ", remember=" + remember + "]";
	}


}
